package cn.edu.ujn.shi.dao;


import java.util.List;

public interface AdminMapper {
    List<Admin> getAll();

    List<Admin> getByUserName(String userName);

    List<Admin> getRepeat(Admin admin);

    void insert(Admin admin);

    void delete(String username);

    void updateAdmin(AdminDto admin);
}

